-
Notifications
You must be signed in to change notification settings - Fork 168
fix!: replace custom glob with minimatch for improved pattern matching #750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main-enterprise
Are you sure you want to change the base?
fix!: replace custom glob with minimatch for improved pattern matching #750
Conversation
9232961
to
b3aba96
Compare
b3aba96
to
a247e01
Compare
Note: This PR doesn't impact:
|
This is great! But requires some manual resolution of conflicts. So will merge it after handling a few simpler PR merges. |
Let me know if (and when) you need help to resolve conflicts. |
Thanks @PendaGTP if you could look at that it would be awesome. It is mostly the code you have contibuted in the previous PRs and this, so it would be easier for you. |
a247e01
to
99509e8
Compare
@decyjphr fyi rebase done |
I do want to comment that this fix by @PendaGTP works much better than the recent #808 merge when it comes to mistaken globbing issues. Basically as it stands with current
Then it will be greedy and pull in any repos that match "luv" in any part of the repo name, whereas in this PR, the behavior is that this config would only match the repo called "luv" and that's all. Testing
This will match any repo that starts with "luv", for example: "luv-mike-repo" will match.
Our team is good with this behavior, just pointing out that we also tested this scenario. Background
|
Description
Fixes #748
Replace custom glob implementation with minimatch.
Changes
minimatch
to fully support glob patternsRemoved Regex support for patterns. Users must update their configuration to use glob syntax.
Before:
After:
This change simplifies the configuration and doesn't significantly impact existing functionality.
Testing